package com.erp.mapper;

import com.erp.pojo.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.vo.ItemCond;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
 * @author Teacher
 * @description 针对表【t_item】的数据库操作Mapper
 * @createDate 2025-05-26 15:49:21
 * @Entity com.erp.pojo.Item
 */
public interface ItemMapper extends BaseMapper<Item> {

    /*实现商品信息分页查询*/
    /*public List<Item> queryItemListMapper();*/
    public List<Item> queryItemListMapper(ItemCond itemCond);
    @Delete("DELETE FROM t_item WHERE id = #{itemId}")
    void deleteItemImgByItemId(Integer itemId);

}




